<table border="1">
    <tr>
        <th> Country </th>
        <th> County </th>
        <th> Population </th>
        <th> Percent male </th>
        <th> Percent urban </th>
    </tr>
    {foreach from=$counties item=c}
    <tr>
        <td>{$c.Country}</td>
        <td>{$c.County}</td>
        <td>{$c.Population}</td>
        <td>{$c.Percent_male}</td>
        <td>{$c.Percent_urban}</td>
        <td><a href="#" class="county_delete" data-id="{$c.County_id}">Delete</a></td>
        <td><a href="#county_modify" class="county_modify" data-id="{$c.County_id}" data-population="{$c.Population}" data-male="{$c.Percent_male}" data-urban="{$c.Percent_urban}" data-name="{$c.County}">Modify</a></td>
    </tr>
    {/foreach}
</table>